package cate.game.role.farm.endless.msg;

import cate.game.GameBody;
import cate.game.client.ClientContext;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgInput;
import cate.game.client.msg.id.MsgIdBEndless;

@ClientMsg(title = "进入无尽试炼的请求")
public class EndlessEnterReq implements MsgInput {
    @Override
    public void execute(GameBody game, ClientContext cc) {
        cc.getRole().getFarm().endless.cur.start();
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBEndless.FIRST_ENTER_REQ;
    }
}
